package L1;

import java.util.Scanner;

public class _007 {

	public static void main(String[] args) {
		Scanner reader=new Scanner(System.in);
		String string=reader.next();
		if(string.charAt(0)=='-')
		{
			System.out.print("fu ");
			string=string.substring(1);
		}
		String str[]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
		for(int i=0;i<string.length()-1;i++)
		{
			System.out.print(str[string.charAt(i)-48]+" ");
		}
		System.out.print(str[string.charAt(string.length()-1)-48]);
		
		
		reader.close();

	}

}
